package com.qy137.controller;

import com.qy137.entity.Order;
import com.qy137.service.OrderService;
import com.qy137.vo.CommonResult;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * @program: qy137-java
 * @description: 订单统计
 * @author: 李冠
 * @create: 2021-10-21 11:02
 **/
@RestController
@RequestMapping("/stat/order")
public class OrderController {

    @Resource
    private OrderService orderService;


    @PostMapping("/queryAllOrderBang")
    public CommonResult queryAllOrderBang(@RequestBody Order order){
        return orderService.queryAllOrderBang(order);
    }

}
